<?php
/**
 * Created by PhpStorm.
 * User: Aliaksei Lazerka
 * Date: 10/6/14
 * Time: 9:21 PM
 */

include_once("../NymphFramework.php");
include_once("SQLParserImpl.php");

$sqlParser = new SQLParserImpl();
$sqlStorage = new \sql\NamedSQLStorage($sqlParser);
$params = new \sql\Params(":");
$params->addParam("table", "users");

$query = $sqlStorage->getQuery('query', $params);
echo $query;

function func(){
  session_start();
  $_SESSION['aaa'] = "AAA";
}